package com.bawei.a2209_mianshi.ui.mall.reposiitory

import com.bawei.a2209_mianshi.base.BaseResponse
import com.bawei.a2209_mianshi.http.ClubService
import com.bawei.a2209_mianshi.ui.mall.model.AdInfoModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOn
import javax.inject.Inject

/**
 * @author yaotianxue
 * @description
 * @date 2025/5/12
 */
class MallRepository  @Inject constructor(private val clubService: ClubService){

     fun cmallAdInfo() = flow {
         emit(clubService.cmallAdInfo())
     }.flowOn(Dispatchers.IO)
}